package com.ctshk.common.enums;

/**
 * <p>
 *     旅客类型
 * </p>
 * @author 叶冠峰
 * @since 2021-06-03
 */
public enum TouristType {

    ADULT(1353957574038048769L, "成人",12,59),
    CHILD(1356226303098724353L, "小童",3,11),
    BABY(1353883074932097025L, "婴儿",0,2),
    ELDER(1353957574038044344L, "长者",60,99),
    ;

    private Long id;
    private String name;
    private Integer ageBegin;
    private Integer ageEnd;

    TouristType(Long id, String name,Integer ageBegin,Integer ageEnd) {
        this.id = id;
        this.name = name;
        this.ageBegin = ageBegin;
        this.ageEnd = ageEnd;
    }

    public Long getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public Integer getAgeBegin() {
        return ageBegin;
    }

    public Integer getAgeEnd() {
        return ageEnd;
    }

}
